package io.gitee.zhangbinhub.admin.oauth.mapper;

import io.gitee.zhangbinhub.admin.oauth.entity.Application;
import io.gitee.zhangbinhub.admin.resource.server.vo.ApplicationVo;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface ApplicationMapper {
    ApplicationMapper INSTANCE = Mappers.getMapper(ApplicationMapper.class);

    ApplicationVo entityToVo(Application application);
}
